package cn.edu.zafu.bigdata.XuShuXin.Exp1022;

public abstract class XuShuxinShape_2 {
    public abstract double area();
    public abstract double perimenter();

    public final void display() {
        System.out.println("area:"+ area() +"\t" + "perimenter:"+ perimenter());
    }
}
